
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>员工管理_后台登陆</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/static/myadmin/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/static/myadmin/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="/static/myadmin/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/static/myadmin/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/static/myadmin/assets/css/app.css">
    <script src="/static/myadmin/assets/js/jquery.min.js"></script>

</head>

<body data-type="login">
    <script src="/static/myadmin/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <style>
            #yzm{
                position: absolute;
                top: 0px;
                right: 5px;
            }
        </style>
        <div class="tpl-login">
            <div class="tpl-login-content">
                <form action="{% url 'myadmin_dologin' %}" method="post" class="am-form tpl-form-line-form">
                    {% csrf_token %}
                    <div class="am-form-group">
                        <input type="text" name="phone" class="tpl-form-input" placeholder="请输入账号">

                    </div>

                    <div class="am-form-group">
                        <input type="password" name="password" class="tpl-form-input" placeholder="请输入密码">

                    </div>
                    <div class="am-form-group" style="position: relative">
                        <input type="text" name="code" class="tpl-form-input" placeholder="请输入验证码">
                        <img id="yzm" onclick="this.src='{% url 'myadmin_yzm' %}?'+Math.random()" src="http://127.0.0.1:8000/myadmin/yzm" alt="">
                    </div>
                    <div class="am-form-group">

                        <button class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">提交</button>

                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="/static/myadmin/assets/js/amazeui.min.js"></script>
    <script src="/static/myadmin/assets/js/app.js"></script>

</body>

</html>